package com.smart.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 电子券详细信息实体类
 * @author admin
 *
 */
@Data
public class EcpInfoDetailDO {

	//电子券编号                                       
	private Long ecpId;
	//券码
	private String ecpCode;
	//状态 
	private Integer ecpFlag;
	//券编号
	private Long cpId;
	//券名称
	private String cpName;
	//有效期数值
	private String validValue;
	//订单编号
	private Long orderId;
	//支付时间
	private Date payTime;
	//下单时间
	private Date orderTime;
	//商户名称
	private String merchantName;
	//商户编号
	private int merchantId;
	//核销价值
	private BigDecimal payFee;
	//实际价值
	private BigDecimal costFee;
	//券简介
	private String cpContent;	
	//支付流水号
	private Long chgId;
	//数量
	private Integer cpNum;
	//订单金额
	private BigDecimal orderFee;
	//有效期起
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	private Date validStart;
	//有效期止
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	private Date validEnd;
	//电子券退款状态
	private Integer refundState;
	private Integer refFlag;
	//获取状态
	private String obtainType;
	//主营类目
	private String category;
	//派券时间
	private String sendTimeStr;
	//派券人
	private String sendUserName;
	//派券地点
	private String sendStationName;
	//有效期截止日期
	private String validEndStr;

	private String useUserName;

	private String useTimeStr;

}
